package com.adderis.soft.service;

import java.util.List;

import com.adderis.soft.domain.model.Inci;

public interface IInciBo {

	/**
	 * Persist a Inci entity in the database
	 * 
	 * @param transientInci
	 */
	public void persist(Inci transientInci);

	/**
	 * Remove a persisted Inci from the database
	 * 
	 * @param persistentInci
	 */
	public void remove(Inci persistentInci);

	public void remove(Integer id);

	/**
	 * Update a Inci in the database
	 * 
	 * @param detachedInci
	 * @return merged Inci
	 */
	public Inci merge(Inci detachedInci);

	/**
	 * Find a Inci by id
	 * 
	 * @param id
	 * @return the found Inci
	 */
	public Inci findById(Integer id);

	/**
	 * Find a Inci by id
	 * 
	 * @return the found Inci
	 */
	public List<Inci> findAll();

	/**
	 * Search Incis
	 * 
	 * @param searchString
	 * @return the found Incis
	 */
	public List<Inci> search(String searchString);

}

